package com.qiyu.tech.mysql.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author linhao
 * @Date created in 10:07 上午 2020/12/18
 */
@AllArgsConstructor
@Getter
public enum DatasourceConfigEnum {


    TEST_DB_01("jdbc:mysql://prod.min.mall.com:3306/test-db01?useUnicode=true&characterEncoding=utf8", "root", "cqmyg;ysdss1997LinHao", "test-db01"),
    TEST_DB_02("jdbc:mysql://prod.min.mall.com:3306/test-db02?useUnicode=true&characterEncoding=utf8", "root", "cqmyg;ysdss1997LinHao", "test-db02");

    String url;
    String username;
    String password;
    String databaseName;

    @Override
    public String toString() {
        return super.toString().toLowerCase();
    }
}
